#include "scorecard.h"

/**
 * Constructor, initializes course based on a lookup from a database.
 */
Scorecard::Scorecard(std::string course) {
    //perform course loookup
    //courseLookup(par);
    strokes = std::vector<int> (18,0);
}

/**
 * Destructor
 */
Scorecard::~Scorecard() {
    //no allocations
}

void Scorecard::updateScorecard(int hole,int shots) {
    strokes[hole] = shots;
}
